Allwinner /D1H /TWI[0] /TWI_CNTR

Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text

Interpret as TWI_CNTR

31 2827 2423 2019 1615 1211 87 43 0 0 0 0 0 0 0 0 00 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (oscl)clk_count_mode 0 (a_ack)a_ack 0 (int_flag)int_flag 0 (m_stp)m_stp 0 (m_sta)m_sta 0 (ignored)bus_en 0 (low)int_en

clk_count_mode=oscl, bus_en=ignored, int_en=low

Description

TWI Control Register

Fields

clk_count_mode

0 (oscl): scl clock high period count on oscl

1 (iscl): scl clock high period count on iscl

a_ack

Assert Acknowledge

int_flag

Interrupt Flag

m_stp

Master Mode Stop

m_sta

Master Mode Start

bus_en

TWI Bus Enable

0 (ignored): undefined

1 (respond): undefined

int_en

Interrupt Enable

0 (low): The interrupt line always low

1 (high): The interrupt line will go high when INT_FLAG is set

Links

()